package br.com.fiap.mercadinho.bean;

import java.io.Serializable;

import br.com.fiap.mercadinho.common.UserType;

/**
 * Esta classe representa um usuario dentro do sistema.
 * 
 * @author Jeferson Lamas
 * @since 22/05/2013
 * 
 */
@SuppressWarnings("serial")
public class User implements Serializable {

	private Integer id;
	private String login;
	private String password;


	private UserType userType;

	public String getLogin() {
		return login;
	}

	public void setLogin(String login) {
		this.login = login;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public UserType getUserType() {
		return userType;
	}

	public void setUserType(UserType userType) {
		this.userType = userType;
	}
	
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

}
